+Wed Jul 21 22:35:47 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak the
+ menu. (#148110, Tommi Komulainen)
+
Wed Jul 21 22:24:10 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak
+Wed Jul 21 22:35:47 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak the
+ menu. (#148110, Tommi Komulainen)
+
Wed Jul 21 22:24:10 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak
+Wed Jul 21 22:35:47 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak the
+ menu. (#148110, Tommi Komulainen)
+
Wed Jul 21 22:24:10 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak
+Wed Jul 21 22:35:47 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak the
+ menu. (#148110, Tommi Komulainen)
+
Wed Jul 21 22:24:10 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak
GSList *i;
if (GTK_IS_MENU (combo_box->priv->popup_widget))
- gtk_combo_box_menu_destroy (combo_box);
+ {
+ gtk_combo_box_menu_destroy (combo_box);
+ gtk_menu_detach (GTK_MENU (combo_box->priv->popup_widget));
+ combo_box->priv->popup_widget = NULL;
+ }
if (GTK_IS_TREE_VIEW (combo_box->priv->tree_view))
gtk_combo_box_list_destroy (combo_box);
gtk_combo_box_unset_model (combo_box);
- if (combo_box->priv->model)
- g_object_unref (combo_box->priv->model);
-
for (i = combo_box->priv->cells; i; i = i->next)
{
ComboCellInfo *info = (ComboCellInfo *)i->data;